﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<FarmerStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	购物商店
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="submain">
        <h3>种类浏览</h3>

        <p>从下面 <%: Model.NumberOfGenres %>个类别中选择:</p>

        <ul>
            <% foreach (var genre in Model.Genres) { %>
               <li>
               <%: Html.ActionLink(genre.Name, "Browse", new { genreId = genre.Id,ParentId=genre.ParentId})%>
               </li>
            <% } %>
        </ul>
    </div>
</asp:Content>